package cn.com.java.service;

import cn.com.java.core.HttpRes;
import cn.com.java.model.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author liushuntao
 * @date 2024/3/19
 */
public interface OrderService extends IService<Order> {
    String buyOrder(Long productId, Long type, Long userId, Integer num);

    List<Order> getByUserId(Long userId);
}
